

.layer-list{
  max-width: 40vh;
  overflow-y: auto;
}

.layer-row{
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-radius: 3px;
  transition: background-color .2s;
  font-size: 13px;

  &+&{
    margin-top: 2px;
  }

  &.active{
    background-color: #32383c;
    cursor: default;
  }

  &.viwer-hide{
    .layer-row-viewer{
      opacity: .3;
    }
  }

  &:hover{
    background-color: #535a5d;
  }

  &-viewer{
    flex-shrink: 0;
  }

  &-name{
    flex-grow: 1;
    min-width: 0;
    padding: 0 5px;
  }

  &-control{
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
}